package com.zdp.chat.entity.mongo;

import com.anwen.mongo.annotation.ID;
import com.anwen.mongo.annotation.collection.CollectionName;
import com.anwen.mongo.enums.IdTypeEnum;
import lombok.Data;

import java.time.LocalDateTime;

@CollectionName(value = "chat_friend_apply")
@Data
public class FriendApplyDoc {

    @ID(type = IdTypeEnum.ASSIGN_ID)
    private Long id;

    /**
     * 申请人
     */
    private String applyUid;

    /**
     * 好友id
     */
    private String friendUid;

    /**
     * 申请时间
     */
    private LocalDateTime applyTime;

    /**
     * 1-待通过 2-同意 3-拒绝
     */
    private Integer status;

}
